package com.nervenets.template.hibernate.domain.data;

import com.nervenets.general.hibernate.DomainObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import javax.persistence.Entity;
import javax.persistence.Table;

@ApiModel("金币使用日统计记录表")
@Entity
@Table
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class DataOfGold extends DomainObject {
    @ApiModelProperty(value = "存量")
    private long total;
    @ApiModelProperty(value = "平台支出")
    private long platformSpend;
    @ApiModelProperty(value = "用户兑换")
    private long totalExchange;
}
